package com.fourth.controller.api;

import com.fourth.service.PermissionService;
import com.ljx.vo.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;



/**
 * @author LJX
 * @Description: TODO
 * @Date: 2023/2/26 17:22
 * @Version 1.0
 */
@Api(value = "system/api/permission", tags = {": TODO"})
@RestController
@RequestMapping("system/api/permission")
public class ApiPermissionController {
	@Autowired
	private PermissionService permissionService;

	/**
	 * 查询后端页面的左侧菜单栏
	 * @return
	 */
	@ApiOperation(value = "查询后端页面的左侧菜单栏", notes = "查询后端页面的左侧菜单栏")
	@RequestMapping("leftMenus")
	public Result leftMenus(){
		return permissionService.leftMenus();

	}
}
